package ru.spb.xmlreshelper.util;

public class AppEvent {
	
	public enum TYPES {
		UNSPECIFIED
	}
	
	public AppEvent(Enum<?> type) {
		this.type = type;
	}
	
	protected boolean isConsumed = false;
	private Enum<?> type = TYPES.UNSPECIFIED;
	
	public Enum<?> getType() {
		return type;
	}
	
	public boolean isConsumed() {
		return isConsumed;
	}
	
	public void consume() {
		this.isConsumed = true;
	}

}
